home *** CD-ROM | disk | FTP | other *** search
- unit SSServer_TLB;
-
- { This file contains pascal declarations imported from a type library.
- This file will be written during each import or refresh of the type
- library editor. Changes to this file will be discarded during the
- refresh process. }
-
- { SSServer Library }
- { Version 1.0 }
-
- interface
-
- uses Windows, ActiveX, Classes, Graphics, OleCtrls, StdVCL;
-
- const
- LIBID_SSServer: TGUID = '{5888B8C0-22E7-11D1-9B99-444553540000}';
-
- const
-
- { Component class GUIDs }
- Class_SystemStatusAuto: TGUID = '{5888B8C2-22E7-11D1-9B99-444553540000}';
-
- type
-
- { Forward declarations: Interfaces }
- ISystemStatus = interface;
- ISystemStatusDisp = dispinterface;
-
- { Forward declarations: CoClasses }
- SystemStatusAuto = ISystemStatus;
-
- { Dispatch interface for SystemStatus Object }
-
- ISystemStatus = interface(IDispatch)
- ['{5888B8C1-22E7-11D1-9B99-444553540000}']
- function Get_SystemStatus: OleVariant; safecall;
- property SystemStatus: OleVariant read Get_SystemStatus;
- end;
-
- { DispInterface declaration for Dual Interface ISystemStatus }
-
- ISystemStatusDisp = dispinterface
- ['{5888B8C1-22E7-11D1-9B99-444553540000}']
- property SystemStatus: OleVariant readonly dispid 1;
- end;
-
- { SystemStatusObject }
-
- CoSystemStatusAuto = class
- class function Create: ISystemStatus;
- class function CreateRemote(const MachineName: string): ISystemStatus;
- end;
-
-
-
- implementation
-
- uses ComObj;
-
- class function CoSystemStatusAuto.Create: ISystemStatus;
- begin
- Result := CreateComObject(Class_SystemStatusAuto) as ISystemStatus;
- end;
-
- class function CoSystemStatusAuto.CreateRemote(const MachineName: string): ISystemStatus;
- begin
- Result := CreateRemoteComObject(MachineName, Class_SystemStatusAuto) as ISystemStatus;
- end;
-
-
- end.
-